package com.ruyuan.commodity.enums;

/**
 * 商品审核状态的枚举类
 **/
public enum GoodsAuthStatusEnums {

    /**
     * 0 待审核，1 审核通过 2 未通过
     */
    AUTH_STATUS_WAIT_VERIFY(0, "待审核"),

    AUTH_STATUS_VERIFY_SUCCESS(1, "审核通过"),

    AUTH_STATUS_VERIFY_FAIL(2, "未通过"),
    ;

    /**
     * 枚举值
     */
    private Integer code;
    /**
     * 描述信息
     */
    private String desc;

    GoodsAuthStatusEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
